import random

ipt = int(input())
rdm = random.randint(1, 10)
while ipt != rdm :
    if ipt > rdm:
        print("大了")
    if ipt < rdm :
        print("小了")
    ipt = int(input())
print(f"恭喜猜中，本轮幸运数字：{rdm}")